import request from '@/utils/request'
//培训班次管理接口
export function eduClassesQuery(data) {
  return request({
    method: 'get',
    url: '/eduClasses/query',
    params: data,
  })
}

export function eduClassesQueryById(id) {
  return request({
    method: 'get',
    url: '/eduClasses/query/' + id,
  })
}

export function eduClassesAdd(data) {
  return request({
    method: 'post',
    url: '/eduClasses/add',
    data,
  })
}

export function eduClassesDelete(id) {
  return request({
    method: 'get',
    url: '/eduClasses/delete/' + id,
  })
}

export function eduClassesUpdate(data) {
  return request({
    method: 'post',
    url: '/eduClasses/update',
    data,
  })
}
